<div xmlns="http://www.w3.org/1999/html">

    <div class="input-group dropdown-toggle dropdown-date" id="{{dataid}}" role="button"
         data-toggle="dropdown">
        <label>{{label}}</label>
        <!--<span class="date-input-span">{{datemodel | date:'yyyy-MM-dd HH:mm:ss'}}</span>-->
        <input date-directive type="text" class="date-input-span" ng-model="datemodel">
    </div>

    <ul class="dropdown-menu date-menu" role="menu" aria-labelledby="dLabel">
        <datetimepicker data-ng-model="datemodel"
                        data-datetimepicker-config="{ dropdownSelector: '#{{dataid}}' }"/>
    </ul>
</div>
